<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>XMLHttpRequest</title>
<script type="text/javascript">
	var HTTPCtrl = {
			getHTTP: function(){
				var xmlhttp = null;

				if (window.XMLHttpRequest) {
					xmlhttp = new XMLHttpRequest();
				} else {
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				}
				
				return xmlhttp;
			}
	};
	
	var client = HTTPCtrl.getHTTP();
	client.open('GET', '12-2.jsp', true);
	client.send()
</script>
</head>
<body>
XMLHttpRequest 학습을 위한 페이지입니다.
</body>
</html>
